package com.jk.service;

import com.jk.entity.Coupon;
import com.jk.mapper.CouponMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("couponService")
public class CouponServiceImpl implements CouponService {

    @Autowired
    private CouponMapper couponMapper;

    public List<Coupon> queryCoupon() {
        return couponMapper.queryCoupon();
    }
}
